package com.outdoor.model.vo;

import com.outdoor.model.enums.ActivityType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.util.List;

/**
 * 团队视图对象
 * 
 * @author OutdoorTeam
 * @date 2025-05-18
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TeamVO {
    
    private Long id;
    private String name;
    private ActivityType activityType;
    private String location;
    private LocalDate date;
    private Integer maxMembers;
    private String description;
    private String experienceLevel;
    private String additionalRequirements;
    
    /**
     * 团队领队
     */
    private UserVO leader;
    
    /**
     * 团队成员列表
     */
    private List<UserVO> members;
    
    /**
     * 申请列表
     */
    private List<ApplicationVO> applications;
    
    /**
     * 关联行程
     */
    private TripVO trip;
    
    /**
     * 当前成员数
     */
    private Integer currentMembers;
    
    /**
     * 是否已满员
     */
    private Boolean isFull;
} 